/*  1:   */ package com.atomikos.icatch.admin.imp;
/*  2:   */ 
/*  3:   */ import com.atomikos.icatch.admin.LogAdministrator;
/*  4:   */ import com.atomikos.icatch.admin.LogControl;
/*  5:   */ 
/*  6:   */ public class SimpleLogAdministrator
/*  7:   */   implements LogAdministrator
/*  8:   */ {
/*  9:   */   private static SimpleLogAdministrator instance;
/* 10:   */   private LogControl control;
/* 11:   */   
/* 12:   */   public static synchronized SimpleLogAdministrator getInstance()
/* 13:   */   {
/* 14:47 */     if (instance == null) {
/* 15:48 */       instance = new SimpleLogAdministrator();
/* 16:   */     }
/* 17:49 */     return instance;
/* 18:   */   }
/* 19:   */   
/* 20:   */   public void registerLogControl(LogControl ctrl)
/* 21:   */   {
/* 22:61 */     this.control = ctrl;
/* 23:   */   }
/* 24:   */   
/* 25:   */   public void deregisterLogControl(LogControl ctrl) {}
/* 26:   */   
/* 27:   */   public LogControl getLogControl()
/* 28:   */   {
/* 29:74 */     return this.control;
/* 30:   */   }
/* 31:   */ }


/* Location:           C:\myfile\mysoft\apache-maven-3.5.0-bin\apache-maven-3.5.0\myrep\com\atomikos\transactions\3.7.0\transactions-3.7.0.jar
 * Qualified Name:     com.atomikos.icatch.admin.imp.SimpleLogAdministrator
 * JD-Core Version:    0.7.0.1
 */